import React from "react";
import { Radio as AntdRadio, RadioProps } from "antd/index";

import "antd/radio/style/index.tsx";
import type Group from "./Group";
import type RadioButton from "./RadioButton";
export type Props = RadioProps & {};

class Radio extends React.Component<Props> {
  static Group: typeof Group;
  static Button: typeof RadioButton;

  constructor(props: Props) {
    super(props);
  }
  render() {
    return <AntdRadio {...this.props} />;
  }
}

export default Radio;
